all: river.h river.c main.c
	@echo "Compilando o Programa..."
	gcc *.c -o rivercrossing -pthread -lm -g `allegro-config --libs`

static: river.h river.c main.c
	@echo "Compilando o programa com linkagem estatica do Allegro..."
	gcc *.c -o rivercrossing_static -pthread -lm -g `allegro-config --libs --static`

clean:
	@echo "Limpando..."
	rm -f *~ rivercrossing *.o
